<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<link rel="stylesheet" type="text/css" href="http://zj.sinaimg.cn/zj_2012_v1.0/css/base.css" />
<script type="text/javascript" src="http://i2.sinaimg.cn/cj/dfz/js/base.js" charset="utf-8"></script>


<style type="text/css">
	#listTextRoll3 {
		background: #eee;
		height: 72px;
		overflow: hidden;
	}
	#listTextRoll3 li {
		line-height: 25px;
	}
</style>
<div id="listTextRoll3">
	<ul class="list">
		<li>
			·<a href="#" target="_blank">文章标题文章标题文章标题01</a>
		</li>
		<li>
			·<a href="#" target="_blank">文章标题文章标题文章标题02</a>
		</li>
		<li>
			·<a href="#" target="_blank">文章标题文章标题文章标题03</a>
		</li>
		<li>
			·<a href="#" target="_blank">文章标题文章标题文章标题04</a>
		</li>
	</ul>
</div>
<script type="text/javascript">
	$(function() {
		var rollH = $("#listTextRoll3").height();
		var listH = $("#listTextRoll3 .list").height();
		if (listH > rollH) {
			var martop = 0;
			$("#listTextRoll3 .list").clone().attr("class", "").appendTo("#listTextRoll3");
			function rollText() {
				martop++;

				if (martop > listH) {
					martop = 0;
					$("#listTextRoll3 .list").css("margin-top", -martop);
				} else {
					$("#listTextRoll3 .list").css("margin-top", -martop);
				}
			}

			var int = setInterval(rollText, 80);
			$("#listTextRoll3").hover(function() {
				clearInterval(int);
			}, function() {
				int = setInterval(rollText, 80);
			});
		}
	}); 
</script>